package com.example.castday1.controller;

import com.example.castday1.bean.UserA;
import com.example.castday1.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Author : 徐闯 mpcast
 * @Date : 2021-05-22 18:05:33
 * @Description : ces
 **/
@RestController
public class TestController {
    @Autowired
    private UserMapper userMapper;
    @RequestMapping("/showInfo")
    public List<UserA> showInfo(){
        return userMapper.selectList(null);
    }
}
